﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowAPI
{
    enum KeyBoard
    {
        Top = Keys.W,
        Down = Keys.S,
        Left = Keys.A,
        Right = Keys.D,
        FindMonster = Keys.Tab,
        CommonAttack = Keys.D1,
        EatRed = Keys.F1,
        EatBlue = Keys.F2,
        GomeHome = Keys.F8
    }

    public class Foot
    {
        public static int GetFoot(int foot)
        {
            int value = foot;
            value = (int)foot / 2;
            if (value < 1)
            {
                value = 1;
            }
            return value;
        }
    }
}
